import reqeust from "@/utils/request";

//新增贴吧
export interface reqeustAddBaType {
  barName: string; //标题
  description: string; //内容
  barLogo?: string; //图片
  creator: string; //创建者
}

export default {
  reqeustAddBa: (createBar: reqeustAddBaType) => {
    return reqeust.post(`/bar/createBar`, createBar);
  },
};
